package tmproject.hlhj.fhp.anwser.utils

import android.annotation.SuppressLint
import android.content.Context
import tmproject.hlhj.fhp.anwser.customview.LoginDialog

/**
 * Created by Never Fear   on 2018\8\24 0024.
Never More....
 */
object LoginUtil {
    @SuppressLint("StaticFieldLeak")
    private var loginDialog:LoginDialog?=null

    fun getInstence(c:Context): LoginDialog? {
        if (loginDialog==null)
        loginDialog=LoginDialog(c)
        return loginDialog
    }

}